package com.mingqijia.gassafety.shared.service;

import com.mingqijia.gassafety.shared.request.HuiShengCreateOrderReq;
import com.mingqijia.gassafety.shared.request.HuiShengEditOrderReq;
import com.mingqijia.gassafety.shared.request.HuiShengOrderAddRequest;
import com.mingqijia.gassafety.shared.response.HuiShengAddOrderResponse;
import com.mingqijia.gassafety.shared.response.HuiShengBaseResponse;

import java.util.Map;

public interface HuiShengService {
    /**
     * 订单创建
     * @param request
     * @return
     */
    HuiShengBaseResponse<HuiShengAddOrderResponse> orderAdd(HuiShengOrderAddRequest request);

    //回声登录
    String login(String mobile);

    //创建工单
    String createOrder(HuiShengCreateOrderReq params);

    //订单操作(主要是取消工单)
    String editOrder(HuiShengEditOrderReq params, String spId);

    //订单详情
    String getOrder(Map<String, Object> params, String spId);

    //订单列表
    String getlist(Map<String, Object> params);
}
